package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【产品清单】对象 product_list
 * 
 * @author ruoyi
 * @date 2025-01-22
 */
public class ProductList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 产品类别 */
    @Excel(name = "产品类别",comboDictType = "product_type",dictType = "product_type")
    private String productType;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品介绍 */
    @Excel(name = "产品介绍")
    private String productRemark;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String productSpecs;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 是否代理 */
    @Excel(name = "是否代理")
    private String isProxy;

    /** 机构id */
    private Long organizationId;

    /** 机构姓名 */
    private String organizationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 创建人id */
    private Long createId;

    /** 创建人姓名 */
    @Excel(name = "创建人")
    private String createName;

    /** 供应商id */
    private String enterpriseId;

    /**
     * 供应商名称
     * @param id
     */
    private String enterpriseName;

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductRemark(String productRemark) 
    {
        this.productRemark = productRemark;
    }

    public String getProductRemark() 
    {
        return productRemark;
    }
    public void setProductSpecs(String productSpecs) 
    {
        this.productSpecs = productSpecs;
    }

    public String getProductSpecs() 
    {
        return productSpecs;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setIsProxy(String isProxy) 
    {
        this.isProxy = isProxy;
    }

    public String getIsProxy() 
    {
        return isProxy;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setEnterpriseId(String enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId() 
    {
        return enterpriseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productType", getProductType())
            .append("productName", getProductName())
            .append("productRemark", getProductRemark())
            .append("productSpecs", getProductSpecs())
            .append("releaseTime", getReleaseTime())
            .append("isProxy", getIsProxy())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("creationTime", getCreationTime())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("enterpriseId", getEnterpriseId())
            .toString();
    }
}
